package com.world;

import org.lwjgl.opengl.Display;

import base.Start;
import base.world.World;
import base.world.WorldGen;

import com.living.Block;
import com.living.EntityPlayer;
import com.render.gui.button.GuiButtonDebugMode;
import com.render.gui.button.GuiButtonRestart;

public class WorldHermes extends World
{
	@Override
	public void initWorld()
	{
		Block[] blocks = WorldGen.generateBox(8, 8, 30, 22);
		blocks = WorldGen.generateChipBoard(blocks, 22, 0.5F);
		blocks = WorldGen.clearSpawn(blocks, 22, 15, 11, 2);
		
		this.addLiving(blocks);

		this.addLiving(new EntityPlayer(Display.getWidth() / 2, Display.getHeight() / 2));

		Start.renderEngine.addGui(new GuiButtonRestart());
		Start.renderEngine.addGui(new GuiButtonDebugMode());
	}
}
